Deletes ActionInputFileCache.

PiperOrigin-RevId: 199732415
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java
index 837d533..a97d277 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java
@@ -95,7 +95,7 @@
 
     // Temporary hack: the TreeNodeRepository should be created and maintained upstream!
     TreeNodeRepository repository =
-        new TreeNodeRepository(execRoot, context.getActionInputFileCache(), digestUtil);
+        new TreeNodeRepository(execRoot, context.getMetadataProvider(), digestUtil);
     SortedMap<PathFragment, ActionInput> inputMap = context.getInputMapping();
     TreeNode inputRoot = repository.buildFromActionInputs(inputMap);
     repository.computeMerkleDigests(inputRoot);
@@ -204,7 +204,7 @@
             if (input instanceof VirtualActionInput) {
               continue;
             }
-            FileArtifactValue metadata = context.getActionInputFileCache().getMetadata(input);
+            FileArtifactValue metadata = context.getMetadataProvider().getMetadata(input);
             if (metadata instanceof FileArtifactValue) {
               FileArtifactValue artifactValue = (FileArtifactValue) metadata;
               Path path = execRoot.getRelative(input.getExecPath());