public static RequestPath reconstructRequestPath(DatasetVersionRecord record, RequestPath requestPath,
      String accountName, String containerName) {
    RequestPath newRequestPath;
    newRequestPath =
        new RequestPath(requestPath.getPrefix(), requestPath.getClusterName(), requestPath.getPathAfterPrefixes(),
            record.getNamedBlobNamePath(accountName, containerName), requestPath.getSubResource(),
            requestPath.getBlobSegmentIdx());
    return newRequestPath;
  }
Refresh the OperationOrBlobId in request path with the specific latest version info.
@param restRequest the {@link RestRequest}
@param datasetVersionRecord the {@link DatasetVersionRecord} which include the version info.
@throws RestServiceException
ambry-frontend/src/main/java/com/github/ambry/frontend/FrontendUtils.java