Magnetic reversal dynamics of NiFe-based artificial spin ice: Effect of Nb layer in normal and superconducting state