Sorry to hear about his struggles. The incidents you discuss don’t seem like OCD to me on the surface although I don’t know him. Regarding his hair cut, if it was my son I’d just leave it. He probably felt overwhelmed, didn’t like the haircut and couldn’t regulate his response.
Regarding Youtube, what makes you suspect mental compulsions? It just sounds like he is perseverating on the amount of views. That isn’t generally what I would define as a mental compulsion. Here is a podcast on what mental compulsions are: https://www.anxioustoddlers.com/pure-o-and-mental-compulsions/