Here is an idea based on the concept of a sacrificial anode. Per Wikipedia, to quote:
A galvanic anode, or sacrificial anode, is the main component of a galvanic cathodic protection (CP) system used to protect buried or submerged metal structures from corrosion.They are made from a metal alloy with a more "active" voltage (more negative reduction potential / more positive electrochemical potential) than the metal of the structure. The difference in potential between the two metals means that the galvanic anode corrodes, so that the anode material is consumed in preference to the structure.
So perhaps, experiment with adding to the aluminum alloy, or introducing surface strips of pure Zinc, which is more anodic than Aluminum, as noted in this source. Now, Zn must all be removed before Al corrodes, and with a large surface area anode of zinc relative to say an incidental (or provided spot) of carbon (serving as the noble cathode), the galvanic reaction, at least, will be slow.
Related concept: Galvanizing Steel, which per a source, to quote:
Galvanizing, or galvanization, is a manufacturing process where a coating of zinc is applied to steel or iron to offer protection and prevent rusting. There are several galvanizing processes available, but the most commonly offered and used method is called hot-dip galvanizing.