That is purely cosmetic and threatens nothing on the car. There is no way to fix it other than to replace it as suggested above by Zed. However, there is no problem to just leave it like that. That is not the seal, the seal is deeper. You can see it is just to help keep the head light and fender aligned. But the rest of the lens is intact, so it will stay aligned.