Advice on broken headlight

The lens is just that a lens .
But once broken it’s not doing it’s job correctly and should be replaced as soon as.
Report it defect it and keep notes.
Given it’s normally just half a dozen screws it should only take a max 30min to change the unit .