IDK, bugs can carry some nasty germs. Dry ice and vacuum sealing might kill the pests, but it doesn't sterilize the weed. Personally I'd throw it away and call it a loss, but I totally get why you'd want to try and save your harvest. Who wouldn't, right?
I know that tobacco companies will roast the tobacco leaves in an oven even though it ruins the flavor and potency. They'll often 'fix it' by using special flavorings or they'll blend it with another type of tobacco.
You get a lot of misinformation from cannabis growers because of the whole being illegal thing. Where as tobacco has been researched to death. Almost all the methods used by tobacco growers work with cannabis. So if you don't find the answers here, check out a few tobacco growing forums. I've read of some small scale tobacco growers who use a light bulb and a box as an oven. I forget the exact temperature they aim for but it's not really high. 100*F to 160*F if my memory serves me right.