Since the DNA is damaged, the RNA created from it will not be correct. So after protein synthesis the protein will come out with a messed up shape. A change in the shape means a change of the function for a protein. So, In the end, the protein would not function as intended.