Apparently, Gmail’s built-in ‘View as HTML’ functionality, which allows you to view the content of PDF files (and other types of documents) as if they were classic webpages, works regardless of the files’ usage restrictions (i.e., the functionality doesn’t respect Digital Rights Management).