def METHOD_NAME(sliced_metrics):
  slice_value, metrics = sliced_metrics
  metrics = copy.copy(metrics)
  for sub_key, value in zip(sub_keys, sub_key_values):
    key = metric_types.MetricKey(name=metric_name, sub_key=sub_key)
    metrics[key] = value
  return (slice_value, metrics)