The simplest answer is as follows:
add_filter( 'private_title_format', function ( $format ) {
return '%s';
} );
It uses the private_title_format
to change the format of the title to just the post title, without any unnecessary classes or functions.