Question: how does the mass of an object affect the force of friction?
Answer: Friction can't affect mass of a substance(considering for a substance whose mass doesn't change with time),rather it is the mass of an object which can affect friction variously. Let's take some example to understand the situation. So,higher the mass of the object,higher will be the frictional force.