text: The compatibility of two different metals may be predicted by consideration of their anodic index. This parameter is a measure of the electrochemical voltage that will be developed between the metal and gold. To find the relative voltage of a pair of metals it is only required to subtract their anodic indices.
  To reduce galvanic corrosion for metals stored in normal environments such as storage in warehouses or non-temperature and humidity controlled environments, there should not be more than 0.25V difference in the anodic index of the two metals in contact. For controlled environments in which temperature and humidity are controlled, 0.50V can be tolerated. For harsh environments such as outdoors, high humidity, and salty environments, there should be not more than 0.15V difference in the anodic index. For example: gold and silver have a difference of 0.15V, therefore the two metals will not experience significant corrosion even in a harsh environment.
  When design considerations require that dissimilar metals come in contact, the difference in anodic index is often managed by finishes and plating. The finishing and plating selected allow the dissimilar materials to be in contact, while protecting the more base materials from corrosion by the more noble.  It will always be the metal with the most negative anodic index which will ultimately suffer from corrosion when galvanic incompatibility is in play. This is why sterling silver and stainless steel tableware  should never be placed together in a dishwasher at the same time, as the steel items will likely experience corrosion by the end of the cycle (soap and water having served as the chemical electrolyte, and heat having accelerated the process).