Phonon-Induced Contributions to Superconductivity in the Presence of Charge-Density Waves