A new geochemical discovery could lead to a cleaner way to extract the rare earth elements needed for the transition to renewable energy.