Does Whey Protein help replace the minerals you lose after a workout?

If not can you tell me something else and is why protein good for gaining lean muscle?

I was going to buy some whey protein shake powder from amazon
Does Whey Protein help replace the minerals you lose after a workout?
Post Opinion