There is a speed sensor on transmission close to cv shaft that controls speedometer and odometer.
Please Accept if you are satisfied with answer...
Technician
custom building for 15 years automotive foreman