Removing macOS boot-args without booting when firmware password enabled

After setting a bad combination of gzalloc boot-args fields, the booting of every kernel i’ve tried fails (usb bootable, recovery, internet recovery, safe, etc…). The firmware password protection disables the boot keys usually used to reset PRAM so there is no trivial way to remove these boot preventing boot-args. How could i reset the firmware pw or the PRAM without going on a trip to the apple store?

I have a 2020 16 inch MBP with latest Big Sur