Well, your problem is a reminder why in-wall conduit is so important. But, you don't have that.
I'd be hesitent to recommend trying to fix it. The pins were bent and may be damaged but more importantly I'd worry about the chance of shorting two pins together when you tried to put the housing back on.
The correct answer is to replace the cable. If you can't do that and you are willing to risk damaging the TV and the component connected on the other side, you could try to put a housing back on but I'd get someone who knows how to do that rather than try it yourself. Is the housing still in one piece?
Also are you sure the TV socket did not get damaged?