You treat it as a whole, and it consists of two elements in total. The black armor has a broken steel cord.
You would have to remove one final plastic from the armor and shorten / experimentally / armor, e.g. 2cm - as long as you need to pull the cable out of the armor so that it comes out through the hole in the lever opening the lock. The end of the cable next to the actuator is to be as marked in green - initially, because I suppose it would be there.
You will not use this bent element that has been torn off, now you will put the cable in the lever and secure it, turn the electrical connector on one or better two screws - like the wires for which it is intended.
OR cut the armor on a more straight, not folded, as seen in the flap, and shorten one end by the needed centimeters. Connect by wrapping with a tape, or heat shrink, a plastic piece of pen, when the armor would enter quite tightly. So to stiffen and center two pieces of cut armor. If the art did not want to get off the armor ...
Something like this should work, the whole line will be more straight, not after the arc as it was. 2-3 cm will not change anything and you have 2-3 attempts to cut it before you completely straighten the lock-cylinder arch.
We do not cut the rope, it has a fixed length. - if not for the stupid end at the cylinder, you would buy and bicycle ...
You shorten the armor itself, the steel cable protrudes more.
You would make it longer, the rope would be hidden.
You have to shorten it enough so that the cable comes out through the levers and makes it possible to twist the ankle.