It doesn't absolve you of guilt whatsoever. If you're feeling lots of guilt over what your employer is doing, then you should resign. There are absolutely companies I would never work for because I morally disagree with what they're doing. Google is not one of them.