Application of rare earth containing solid state ionic conductors in electrolytes