Mathematicians Abigail Thompson and Izabella Laba on mandatory diversity statements: https://www.ams.org/journals/notices/201911/rnoti-p1778.pdf and https://ilaba.wordpress.com/2019/12/01/diversity-statements/ (via https://www.insidehighered.com/news/2019/11/19/mathematician-comes-out-against-mandatory-diversity-statements-while-others-say-they and https://mathstodon.xyz/@pkra/103237286846736065)
Thompson sees mandated loyalty to political positions (such as prioritizing diversity) as anti-academic freedom. Laba disagrees but prefers institutional action to lip-service statements of good intentions, and argues that unrealistic expectations on faculty benefit men with uncredited wife assistants.
There's much more about mandatory diversity statements (mostly by mathematicians but relevant much more widely in academia) in the latest letters to the editor of the Notices at https://www.ams.org/journals/notices/202001/rnoti-o1.pdf (via https://cybre.space/@zardoz/103310868212435260)