Revert "Get text of device path through new DevicePathLib API"

This reverts commit 14cab37e8814f21d87355b4f46c0bef52a101f1c.