Ligand and Method for Recovery of Rare Earth Elements