Magnetic shielding effect of grounded superconducting niobium layers