A former Santa Cruz County treasurer pleaded guilty this week to embezzling tens of millions of dollars in public funds.