Originally Posted by
TravellingSalesman
You have different codes because you are booked on more than one airline. So you will have an Air Canada booking code (which identifies your booking in AC's systems), and a Lufthansa one. Not sure about the third one.
In any case it's to be expected and won't cause any problems.
OP's TA is using another system, so third code?