Just dont rivet aluminum to carbon, and dont use aluminum rivets in carbon.

Too far apart on the electron swapping scale.