How to hide password-protected WooCommerce products from search results and Related Products templates

I have a client that is using WooCommerce subscriptions as a way to create custom payment plans for individual customers of theirs. This is because the payment plans are often personalized to the customer’s personal financial situation. While WooCommerce may not be an obvious choice of software for this, it can be easily leveraged for…