<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def storage_record2pairwise_info(storec: StorageRecord) -> PairwiseInfo: """ Given indy-sdk non_secrets implementation of pairwise storage record dict, return corresponding PairwiseInfo. :param storec: (non-secret) storage record to convert to PairwiseInfo :return: PairwiseInfo on record DIDs, verkeys, metadata """


    return PairwiseInfo(
        storec.id,  # = their did
        storec.value,  # = their verkey
        storec.tags['~my_did'],
        storec.tags['~my_verkey'],
        {
            tag[tag.startswith('~'):]: storec.tags[tag] for tag in (storec.tags or {})  # strip any leading '~'
        })