What a mess
That looks like 4 thin and 2 thicker wires on the actual loom - can you check?
If im right by that, you will need the following
2 of 000979133A (1.0mm)
1 of 000979225A (2.5mm)
They are double ended, so that gives you the 6 leads you need. Plus these are the gold plated connections needed for Lambda sensors.
Youll also need to get 6 x blue heatshrink crimp joiners (youll need a heatgun to shrink them down and seal them). Maplin sell them with code AR61R
Releasing the pins is a bit fiddly. Youll need to slide out the purple pin out of the plug, then use a bent paperclip like this

to release the damaged wires by putting it in the grooves like this
Not the same plug, but you get the idea - replace them one by one so they go back in the right order!!
It is
vital that you remove the damaged wire first, and remove the little silicone blue wire seal and put that on the new wire before you crimp them up otherwise they are near impossible to fit.
Also, once you are finished, wrap the loom in loom tape or a plastic braid similar to what VW use to protect the wires for the future.