the first cable you have shown is just the power (the coloured one) so use either.
The second cable (ribbon cable) is the one you need to make sure if the same as before. It shouldn't really matter unless you are on cable select, dont worry about the terminology, just try using either of those connectors, do both fail?