I would use in in both instances. I guess that some native speakers would use on in the second because cheat is often used in combination with 'on'. They might use on in the first too.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.