pub fn convert_optional_pubkey(pubkey: Option<&Pubkey>) -> Option<&Pubkey>