Imo it's very different bc the ideology pledge itself is mostly distracting from the real purpose of the dei statement (again imo), which is to provide a way to select employees based on race, etc, without it being the explicit reason.
A better comparison would be if instead of an anti-theft pledge, there were a ten-commandments plus beatitudes test/ statement, without referencing the source religion. Maybe call it a morality pledge.
It's essentially a religious test hiding behind another name and terms, and even if it doesn't explicitly discriminate based on religion, it's obviously designed so that people of certain religions do better.
And filters people not from those religions by boosting those who essentially share the same values, or can fake it.
In the same way, dei doesn't explicity select for diversity applicants, but for people who are explicitly pro-diversity-applicant.
Which doesn't sound quite as pure of you replace "diversity" with any of the approved / included groups...
'I'm not picking applicant based on them being black, but based on them having an ideology that is pro-black-applicant.'
Although sadly we've normalized it to crossing that line as well, with the last SCOTUS nominee.