The firm represented the newspaper in a libel case while it also contracted with investigators charged with quashing a negative story about an accuser.