Okay, Babcock (Rakoji) was hired to plant bugs in the office AND the house. Hanlon caught her and probably paid her off or she didn't know he caught her. The important point is that HANLON KNEW that the phones were bugged. So he used it as an alibi.
Since Babcock was a "working girl" she wasn't going to work for Hanlon for more than a few days anyway.