Phonon screening in high-temperature superconductors