Measurement of the lifetime and quenching rate of metastable 2S muonic helium ions