Barak Cohen wrote and published a song criticizing a police officer, whom he called 'a green-eyed snake'