I can't think of one directly, but an ex-thief who is entrusted a key is called 'a poacher turned gamekeeper' (for example, a computer hacker who becomes an adviser on network security, or a government tax officer who becomes an accountant specializing in tax).
b





