def METHOD_NAME(message):
    """Process pubsub message.
    Args:
        message: dict, encode data.
    Returns:
        dict, decoded data.
    """
    _decode(message)
    data, metadata = message['data'], message['attributes']
    logging.info('PubsubHelper: message_id - %s and src_message_id - %s',
                 metadata.get('message_id', ''),
                 metadata.get('src_message_id', ''))
    return data, metadata