Text this: Superconductivity and superionicity in doped rare-earth metal hydrides: Insights from first-principle calculations