Probing virtual ALPs by precision phase measurements: time-varying magnetic field background