to_binary and from_binary are deprecated so replace with: to_json_binary and from_json_binary. Check this for more details.
https://github.com/code-423n4/2024-10-coded-estate/blob/main/packages/cw721/src/receiver.rs#L26
