The primary defense mechanisms include the reduced absorption or their sequestration in root cells and secondary mechanisms include the binding of HM ions by phytochelatins, glutathione, and amino acids and modulation of antioxidant defense systems
Here, I think you're talking about on the plants which have capability to perform phytoremediation kind of mechanisms (As, the normally nutrient consuming plants can't survive in such conditions).
The phytoremediation mechanism doesn't depend only upon one protein through which we may assume the specific gene. It is the coordination of miscellaneous proteins/enzymes which works. I'm attaching a research article which will give you some information regarding the genes involved for the production of those proteins. Kindly, go through it. I hope this will help you.