that kid was just a red herring to prevent his friends from being caught in the act
something used to divert attention form the real matter, issue or object(a dead red herring was often used to confuse or test the scent of a hunting dog)
"that kid was just a red herring to prevent his friends from being caught in the act" What is the definition of "red herring"?