I shall modify an argument for energy-mass equivalence due to Fritz Rohrlich to be valid inside a dielectric medium with refractive index n and light velocity cn=c/n.
Let us assume that inside the dielectric photons obey the following dispersion relationship:
ω=cnk,p=ℏ k,E=ℏ ω.
Therefore inside the medium the magnitude of the photon momentum, p, is related to its energy, E, by the relation:
p=Ecn.
Now imagine a body with mass M at rest.
Suppose it simultaneously emits two pulses of light, one to the left and one to the right, each with energy E/2.
As the momenta of the light pulses are equal and opposite then the body remains at rest.
Now consider the experiment from the perspective of an inertial frame moving with velocity −v to the left.
Initially the body has momentum P=Mv to the right.
After the photons are emitted the right-going photon has its frequency/energy Doppler blueshifted by the factor (1+v/cn) and the left-going photon has its frequency/energy redshifted by the factor (1−v/cn).
The momentum of the right-going photon is changed by
ΔP=vcnE2cn.
The momentum of the left-going photon is also changed by ΔP.
Therefore the momentum of the body after the emission of the photons is
P′=Mv−2ΔP=(M−Ec2n)v.
Therefore the change in the body's mass is equal to the total photon energy lost divided by c2n (rather than c2).