Sorry to hear what happened. But, what you did IS cheating. The thing you asked your boss to do will ruin his reputation if get caught. You should not have listened to your lawyer at the first place.