A newly discovered protein could help detect, target, and collect lanthanides, rare-earth metals used in smartphones, from the environment.