The federal rules of criminal procedure prohibit the government from using any statements made in furtherance of a plea bargain, and Lewinsky's attempt to gain immunity is essentially a form of plea bargaining.
Lewinsky confessed to the crime while attempting to gain immunity.