We sometimes dope this glass with other metal oxides to change the optical characteristics: thallium oxide is used in faceplates for deep sea divers and lanthanum oxide in camera lenses.
Exactly what is a rare earth metal is very slightly arguable, some would say it is only the lanthanides, lanthanum, cerium through to lutetium in that little box at the bottom of the periodic table.