Although the requirements of this part are stated in terms of the duty of a railroad, when any person, including a contractor to a railroad, performs any function required by this part, that person (whether or not a railroad) shall perform that function in accordance with this part.