add checking accounts asm example by Perelyn-sama · Pull Request #539 · solana-developers/program-examples
in the native example of it, we check owner of account to change, would be best to do it here as well for parity
// If we want to modify an account's data, it must be owned by our program.
if account_to_change.owner != program_id {
msg!("Account to change does not have the correct program id.");
return Err(ProgramError::IncorrectProgramId);
};