Use more smart pointers for ContentSecurityPolicy.
Pull request: https://github.com/WebKit/WebKit/pull/20041
Committed 270359@main (e892b0c3f9bd): <https://commits.webkit.org/270359@main> Reviewed commits have been landed. Closing PR #20041 and removing active labels.
<rdar://problem/118086589>