how to detect a specific item in hand with a custom model data in the new snapshot

i tried like but it doesn't work execute as @a[nbt={SelectedItem:{id:"minecraft:totem_of_undying",tag:{CustomModelData:27112024}}}] run schedule function totemexpansion:totemofdestruction/tag 10

Continue to help post