More likely the latter. HR usually has a mission to protect the company (project in this case). CoC and its moderation usually just serve the purpose of virtue signaling or maybe even carrying out a digital version of a struggle session, so D&I seems like a good analog.