I recall last time I was called to de-lime a water heater. The solution was phosphoric acid, and the instructions noted it would be a good idea to remove the anode rod, due to the fact when the phosphoric acid and the magnesium rod touch it generates large amounts of hydrogen real fast and will explode.