I pulled both main gear legs on the RV-6 a couple of years ago to subsequently remove the engine mount so I could have gussets added. The original style mounts had a service history of cracking so the factory added gussets on new mounts and provided "free" gussets to anyone with an old mount who wanted to go to the trouble of doing the upgrade.
Anyway, 22 year old airplane, always hangared, no rust in the sockets or on the gear legs. Stripped the mount, had a friend TIG the gussets in place, then spent a ridiculous amount of time dealing with the <now> oblong gear mount sockets (heat warpage from welding). Reamers, bullet shaped tools persuaded with a slide hammer, quite a bit of cussing, and they finally refit properly. In total, probably 50 hours or more of labor and almost that much time thinking about how to fix things to correct a potential (not actual) problem. Yay, me.
The key to avoiding rust in the engine mount/gear leg interface is probably to grease the gear legs when installing 'em.