Most likely it's a damaged wire to the speed sensor. Looking at the harness is almost useless. You need to test it, not look at it.
It is also possible that the tone ring in the differential is damaged. If the sensor doesn't see the tone ring you get the same result, no speed sensor input to the transmission.
It is also possible that the tone ring in the differential is damaged. If the sensor doesn't see the tone ring you get the same result, no speed sensor input to the transmission.