"Пя" and "пья" sound different.

"Пья" sounds "pya".
In "пя" the "п" sound is soft, but there is no the "y" sound there.

For Russian ears, they sound very different.