Revert "Using PString in both SDK and core plugin"

This reverts commit fd53b59683bd82ba8aecceb8ef8b44dc1a29b330.