Effect of the glass-to-fluid transition on excited-state decay: application of the energy gap law