First of all, YunYun, my heart goes out for you. Sometimes an asshole can really ruin one's life ...
I am a deep diver and usually do not comment, however, in this situation, I will offer my two cents....
First of all, what are your alternatives? can you find a job quickly? can you afford to maintain your life style without working for a while? Think it through, it will tell you whether you need to stick around to take shit from this guy. If you do, then swallow your pride and try to be a "team player". If you don't have to stick around, chances are, it almost does not matter what you do. Just make yourself happy and try to get some revenge from this guy. Teach him a lesson before you leave.
If you have to stick around, here are some of my thoughts:
1) Your boss' boss has already told you what to do, just follow his advice. Show to your colleagues and bosses that you are making a great effort to work with the asshole. which can be many forms, especailly important is to show your good will in front of everyboday, especially the ones whose oppinion counts. show how good a "team player" you are. privately between you and the asshole, it almost does not mattery what you do. If I were you, I just ignore him. But I will put on a good show in front of others.
2) Don't ever complain or bitch about this guy in front of big boss or even your colleagues. you can go ask for their suggestions, on the other hand. find a mentor, especially someone heavyweight. even if you hate the guts of this asshole, never say anything negative about him. always put on a positive face. for example, if he did something really nasty, you can always go to your mentor to ask: this is what happened, what should I do? Remember, it's just a job for everybody. so nobody wants trouble, but if you are really suffering and need help, a lot of people will go out of their way to help out. According to Sun Zhi, pretend to be a pig and you can eat tiger:)
3) unless you have a great case, don't litigate or threat to litigate. no one wants trouble. besides, sexual harrasment cases are very hard trial wise. it can be a "he say she say", and I assume there is no physical contact and it's only verbal abuse, which makes it even harder. most lawyers will shy away from this kind of case.
4) try to do a good job. if possible, try to do something that's customer driven, or otherwise mission critical. whenever possible, try to get customers or your co-workers to write you appreciation emails for job well done. keep that flowing to people of significance in the company. it will help to establish that you are a valuable contibutor in the company, so that you are not at the mercy of the asshole's oppinion.
getting late and my brain is half dead. Hope it's helpful in however miniscule way...
Last word, however difficult it is, it's not the end of the world. If you leave the job and can't find a new one, you can always start your own business. Be happy and nice to yourself...