You are over-concerning yourself with the electronics and everything else the LMM has compared to the LBZ.
Let’s start with “how much do you know and understand about the truck you are working on?”
What you are going to do is swap in an engine that is a “long block”. This means strictly an engine that is complete from heads down. It can include injectors and front accessories. If you are unsure of a part working from the lmm into the lbz, just change it for your lbz part. As GMDuramax said, it’s all basically the same other than one has more emissions on it, the oil cooler and some other small details.
You WILL be re-using your engine harness, ecm, tcm, lbz exhaust, any egr delete stuff you may already have on the lbz, lbz intake, and anything else attached to the top of the lbz engine currently.
You have the OPTION to use the lmm turbo, exhaust manifolds, up pipes, fan and fan clutch, water pump, fan pulley, and power steering pump. I’m unsure if the lmm alternator and a/c compressor are the same though.
Who’s going to be doing the work?