Does "piece" mean the same thing in these two sentences?

It is not known who created this piece.

She played two beautiful pieces on the piano.
different meanings