docs: def deserialize_subject_info(subject_info_xml_path):
      """Deserialize a SubjectInfo XML file to a PyXB object."""
      try:
          with open(subject_info_xml_path) as f:
              return d1_common.xml.deserialize(f.read())
      except ValueError as e:
          raise d1_common.types.exceptions.InvalidToken(
              0,
              'Could not deserialize SubjectInfo. subject_info="{}", error="{}"'.format(
                  subject_info_xml_path, str(e)
              ),
          )