A man Cedar Rapids investigators say was caught during an undercover prostitution sting has pleaded guilty.