Theoretical prediction on the redox potentials of rare-earth ions by deep potentials