On the chart below the metals are arranged from the least noble to the most noble.
The closer the metals are to each other on the chart the less corrosion will occur to the
least noble of the two. To to prevent rust or galvanic reaction to occur you coat them
with something that will not cause this to happen.
Most greases will prevent this from happening provided you maintain it greased.
Galvanic corrosion is an electrochemical process in which one metal corrodes preferentially to another when both metals are in electrical contact and immersed in an electrolyte.
Oxidation of metals in reaction with an oxidant such as oxygen. Rusting, the formation of iron oxides, is a well-known example of electrochemical corrosion. This type of damage typically produces oxide(s) or salt(s) of the original metal.