In the absence of a wiring diagram I'd assume an auto electrician can fix them wires back to the plug and make the button work again for you. Or there will be lots of trial and error and trying to refix cables to a plug they've been torn from is challenging.