code: def deserialize_pb(data):
      base_pb = deserialize_pb_object(data)
  
      metric_pb = MetricRecord()
      metric_pb.ParseFromString(base_pb.artifact)
  
      return base_pb, metric_pb
  
imports: from aim.cli.upgrade._legacy_repo.proto.base_pb2 import BaseRecord
  from aim.cli.upgrade._legacy_repo.proto.metric_pb2 import MetricRecord
label_desc: Use image node_id 2 for calling a global function with example usage: deserialize_pb(data) and returns: base_pb,  metric_pb