In rooftop solar outdoor installations, it is advisable to use earth cables with conductors. These cables fulfill the purpose of preventing galvanic corrosion when connecting metals with different potentials.

Galvanic corrosion can severely damage the metal with a more negative potential (anode) by causing oxidation as it donates electrons to the metal with a less negative potential. This helps optimize the lifespan of the photovoltaic installation.
How to prevent corrosion and degradation from UV rays in a solar rooftop
One high-quality cable option is the Toxfree® ZH Outdoor H07Z1-K (AS) Cu/Sn cable, specifically designed for outdoor solar grounding connections. In addition to the advantages we have already mentioned regarding its tinned copper conductor, its cover has been specially designed for photovoltaic outdoor installations, making it highly resistant to corrosion and degradation from ultraviolet (UV) rays, according to the EN 50618 solar standard. Additionally, prevent galvanic pair when connecting metals of different normal potential.
This cable is halogen-free and has the highest fire classification CPR: B2ca-s1a, d1, a1, suitable for industrial, public, or residential installations.
You can find the complete data sheet for the cable here.