Before I answer this question, I might as well type all the moves that alter a held item.
~ Bestow
~ Bug Bite
~ Corrosive Gas
~ Covet
~ Embargo
~ Fling
~ G-Max Replenish
~ Incinerate
~ Knock Off
~ Magic Room
~ Natural Gift
~ Pluck
~ Recycle
~ Stuff Cheeks
~ Switcheroo
~ Trick
~ Thief
~ Teatime
Some of these moves only work with berries, and others to me do not seem like what you are asking, so I will not be using them.
I tested all the moves that remove a held item in this reply.
The moves that do not work on the Ogerpon Mask (while Ogerpon is using them) are:
~ Bestow
~ Corrosive Gas
~ Covet
~ Fling
~ Knock Off
~ Switcheroo
~ Trick
~ Thief
So the Ogerpon masks cannot be taken/altered in Scarlet or Violet.
Hope I helped!
Source for finding all the moves