Txn path perf improvements based on code review by the DTM team

Change-Id: I9e32f9e9ed5c5ac207edf93d3c510ef97e0f61f3
Merge "Txn path perf improvements based on code review by the DTM team"