Diffusion of rare earths through tantalum