Revert "Refactor BundleVersionsHash to make it easier for external code to invoke the hash functionality."

This reverts commit 2af01959aa60b9b4575eb675b8ff70e14291bc6b.