PHONON OR ELECTRON FRICTION OF A QUANTUM HEAVY PARTICLE