Molarity of a solution is defined as the number of moles of solute dissolved in one litre of solution. Since volume depends on temperature and undergoes a change with change in temperature, the molarity will also change with change in temperature. On the other hand, mass does not change with change in temperature, as a result other concentration terms given in the question remain unchanged by changing temperature. According to the definition of all these terms, mass of the solvent used for making the solution is related to the mass of solute.