How to unlock firmware password
I bought a used MacBook Retina A1534 2017 in 2022. During operation, a battery failure occurred and, worried that the information on the MacBook would be given to strangers, I decided to do a remote erase, but after installing a new battery, I encountered the fact that the MacBook has a firmware password that cannot be reset in recovery mode, due to the fact that the password entry window appears before entering recovery mode. Now I can’t really use the MacBook. The person from whom I bought the MacBook says that he does not remember the password. What should I do? Is it possible to somehow reset the firmware password myself? Thank you in advance for any help.
MacBook, macOS 13.1