The pinning of the charge density wave to irradiation-induced defects