Welcome to GPF.

Your security problem is kind of an unusual one, my guess is that you'll have to have a dealer reprogram the car via a Tech2 and then match the keyfob you still have to that.