If you live where it is hot and humid, rust or corrosion will pretty much be a fact of life unless you are anal about maintenance. Even stainless steel is stainLESS, not stainFREE. The summer after I got it, I rusted and pitted a S&W M649 Bodyguard in just a couple days because I sweated on it like a pig working outside all day and forgot to wipe it down.
The only two guns I've carried that I never had rust issues with are my Glock 26 (older gun from when they were first introduced and Tenifered, not the newer "nitride") and my Ruger LCP. The only reason the LCP hasn't rusted is because I rarely carry it and keep a good coat of Johnson's Paste Wax on the metal parts and magazines precisely because it is blued. I have seen a guy on my PD that managed to rust his G26 that is about the same age as mine because he carried it for years and never maintained it.
I have had the same problem with my Shield that you had, the mag release getting hard to press. The metal in the frame rusted. I didn't know they were a MIM part and figured it was Melonited, evidently MIM can't be Melonited. I took the mag release out, steel wooled the rust off, coated it liberally in BreakFree and haven't had a problem since, as long as I remember to take it out and coat it in BreakFree occasionally. Since this summer has turned out to be hot as hell and I've been sweating like a pig, I've made it a habit to wipe all of my carry/duty guns down with a silicone cloth before I go to bed.
All it takes is a little preventative maintenance to keep your gun pretty much corrosion free. People carried blued guns for years and, while there are some really pitted blued guns, there are also a lot of blued guns that have little or no corrosion. Keep the thing wiped down and you should be OK.
Bub75