Difference between two USB-mini cables

A hand holding two similar, but different, USB interface cables

The wire on the bottom is a USB-Mini 8-Pin. The one above it is dimensionally identical but has a different pinout. The internet would have you believe it was a UC-E6 cable, but looking that up shows pictures like this:

An advertisement for an 8-pin Mini-USB cable identified as UC-E6, which is likely not accurate

Which clearly depicts an 8-Pin Mini-USB cable denoted as UC-E6.
So, which is which?