When I first replaced my rear tyre back in early 2006 it was on only a day when I saw a finish nail in the bloody thing

no way was I replacing a one day old tyre, slimmed it as per instructions and it never leaked once.
When I replaced that tyre the rim was a mess with the green slime all over and it took the installer longer to clean the rim than to replace the tyre

when he did clean it the rim was sparkiling like a mirror so I doubt very much that the green slime is corrosive.