To have their optimum corrosion resistance, stainless steel surfaces must be clean and have an adequate supply of oxygen to maintain their passive surface layer.
Bimetallic corrosion can only occur when two dissimilar metals are in 'electrical' contact and are bridged by an electrically conductive liquid. The 'cell' produced can result in corrosion to one of the paired metals.