code: def _DeserializeAttributeContainer(self, container_type, serialized_data):
      
      if not serialized_data:
        return None
  
      if self._serializers_profiler:
        self._serializers_profiler.StartTiming(container_type)
  
      try:
        serialized_string = serialized_data.decode('utf-8')
      except UnicodeDecodeError as exception:
        raise IOError('Unable to decode serialized data: {0!s}'.format(
            exception))
      attribute_container = self._serializer.ReadSerialized(serialized_string)
  
      if self._serializers_profiler:
        self._serializers_profiler.StopTiming(container_type)
  
      return attribute_container
docs: Deserializes an attribute container.
  
      Args:
        container_type (str): attribute container type.
        serialized_data (bytes): serialized attribute container data.
  
      Returns:
        AttributeContainer: attribute container or None.
  
      Raises:
        IOError: if the serialized data cannot be decoded.
        OSError: if the serialized data cannot be decoded.