The compound pollution caused by rare earth elements (REEs) and high concentrations of ammonia and nitrogen in the drainage water of rare earth mines poses a serious threat to water ecological safety, necessitating urgent resolution. To address this challenge, (Sb, F)-doped SnO