About 10 years ago Precision Shooting had many articles examining corrosion by ammonia based cleaners. The articles went on for at least a year. The conclusion was that only the combination of Shooter's Choice with an ammonia based cleaner caused corrosion.
If you call Krieger(who make barrels that win probably more matches than any others since they dominate high-power, which by far is the most popular competition) they will highly recommend Sweets even for extended periods of time.
When they get a barrel returned, they usually treat it with Sweets for at least 6 hours before air gauging it. Yes, I returned a 243 barrel once and they could find nothing wrong with it but gladly replaced it with a new one.
I have been using a good borescope for about 15 years and examined a lot of barrels. The only corrosion I have seen in a barrel using Sweets was where Shooter's Choice had been used or where the barrel had not been oiled after cleaning.
Jack