High-harmonic generation in lanthanide-containing plasmas