
“But God had listened to Abraham’s request and kept Lot safe …” Genesis 19:29 (NLT) – suggesting that God knows the entire conversation in Genesis 18:23-33 (“would you really destroy the righteous along with the wicked??”) is all the time about Abraham’s nephew.
NRSV & the MT don’t refer back to the conversation as directly; God “remembers” Abraham when God saves Lot. Nevertheless … it does make sense and a nice reading that Abraham would have Lot in mind during that bargaining session, and that God would know it.