GTM script not able to run after ruleout ios 18.3.1

I am using GTM in my project, and the OneTrust cookie consent script is loading in GTM. After ruling out iOS 18.3.1, I am unable to click on the OneTrust preference center since the GTM script is not loading. This issue i faced for safari browser

GTM script not able to run after ruleout ios 18.3.1
 
 
Q