Q: Does "refine" have the same meaning in the following two sentences?

Refine pig iron.

Refine oil.

A: the same meaning

Q: Does "deference" have the same meaning in the following two sentences?

His deference to her wishes was very flattering.

In deference to your wishes.

A: different meanings

Q: Does "play" have the same meaning in the following two sentences?

This speech didn't play well with the American public.

His remarks played to the suspicions of the committee.

A:
the same meaning