You are confusing galling with galvanic action.
Galling is like cold welding, screw an A4 stainless bolt into an A4 nut without any lubrication and there is a good chance of the thread picking up and if you try to undo it tearing off chunks of thread. It is best to mix the grades of stainless...