Signatures of the chiral anomaly in phonon dynamics