|It's illegal to entrust people with illegal data. The crimes were by Clapper and co, not Edward. It's illegal to form an illegal contract to conduct illegal spying activities. People cannot agree to illegal contracts. If it was agreed to keep something secret and that something turns out to be a criminal conspiracy, the agreement is unenforceable. So Edward had no obligation to his agreement to secrecy as the agreement was illegal and therefore of no legal effect.|
<< He was paid to do a job and betrayed the people who entrust him to data.>> To make it easier for you to understand, if he was paid to do a hit job on you, and he betrayed the people who paid him to do it when he found out he was to murder an amazing guy [You] and not a criminal who was plotting to bomb a school full of children, then he's not guilty of a crime. It was not a valid agreement in the first place and legally unenforceable.
I guess in Brazil it's legal to pay people to commit crimes and force them to keep silent about it. In many countries it's not.
These are Virtuous Victorian Values, hard to convey to barbarian hordes.