I couldn't find anything pertaining to rifles but this is a run down on galvanic reactions.
Galvanic Corrosion
All corrosion is essentially galvanic. The cause of the corrosion is usually the environment and the metals themselves.
Each metal has a small inherent electrical potential; it's what allows you to make batteries out of potatoes. The electricity does not come from the potato, but from the difference in potential of metals that you stuck into it - like copper wire and an iron nail. All metals have a particular potential and a ranking of the metals from the most passive (lowest potential - platinum), to the most active (highest potential - magnesium), is shown below. See Table 1.
Table 19- Galvanic Series in Seawater
Magnesium
Zinc
Aluminum (pure)
Cadmium
Aluminum lloys
Mild Steel and Iron
Un-passivated Stainless Steels
Lead-Tin Solders
Lead
Tin
Un-passivated Nickel Alloys
Brass
Copper
Bronze
Silver Solder
Passivated Nickel Alloys
Passivated Stainless Steels
Silver
Titanium
Graphite
Gold
Platinum
Place any two metals in wet contact with one another and a galvanic reaction takes place. The more active metal of the two will dissolve (ionize). The farther apart the two metals are on the galvanic series, the greater the difference in potential and the stronger the dissolution will be. Size also makes a difference - if the more active piece of metal is smaller than the more passive, the corrosion will be enhanced but if more passive metal is smaller than the more active, the corrosion will be diminished.