Read the label; the corrosive action is proportional to the carbonic acid concentration and also to the concentrations of other acids added (citric, phosphoric, etc.).
The carbonation (pressurized CO2) creates carbonic acid in the soda. The soda is very acidic with a pH of about 2.5. If you put a tooth in soda, and let it sit for a few days, it would completely...