I've got one of those ground wires as well - the intention is that the German engineers didn't want to rely on the anodized surface of the engine block and the gearbox making a good electrical connection, or rely on the bolt threads that hold them together to carry current. In many instances, the wire is redundant in functionality, though from a purely electrical perspective, it is/was the *proper* way to ensure ground commonality in the electrical system.
So, unless your final drive is stamped 35/9 it seems someone has replaced your speedometer with a recycled one from an R45. Your speed and odometer readings must be off by quite a bit (about 9%) otherwise.