A woman claims that Brian Cassidy raped her while he was working under cover; when Cassidy and his lawyer utilize surprising defense methods, Detective Amaro is affected.