def METHOD_NAME(session: DbSession, message: PendingMessageDb):
    """
    Insert volume references in the DB to make the program processable.
    """
    content = InstanceContent.parse_raw(message.item_content)
    volumes = get_volume_refs(content)
    created = pytz.utc.localize(dt.datetime(2023, 1, 1))
    for volume in volumes:
        # Note: we use the reversed ref to generate the file hash for style points,
        # but it could be set to any valid hash.
        file_hash = volume.ref[::-1]
        session.add(StoredFileDb(hash=file_hash, size=1024 * 1024, type=FileType.FILE))
        session.flush()
        insert_message_file_pin(
            session=session,
            file_hash=volume.ref[::-1],
            owner=content.address,
            item_hash=volume.ref,
            ref=None,
            created=created,
        )
        upsert_file_tag(
            session=session,
            tag=FileTag(volume.ref),
            owner=content.address,
            file_hash=volume.ref[::-1],
            last_updated=created,
        )