We study how the mechanism of spontaneous decay of atoms (or molecules) in a sonoluminescing bubble (SLB) can be affected by the high density and high temperature environment resulting from the rapid collapse of the gas bubble immediately prior to light emission. We present a detailed study of the density of states of photons in multiple-layered spheres, which mimic various stages of a SLB. In particular, we found that the spontaneous decay rate could be strongly enhanced in the presence of a thin plasma shell inside the bubble, which was predicted recently in numerical hydrodynamic simulations of a SLB.