A mechanic, laborer, or other person who works or uses tools or a team in the construction, operation, or repair of a railroad or railroad equipment has a lien on the railroad and equipment for the amount owed for the labor or the use of the tools or team.