Any individual medical provider contracting with the department when providing medical care within a correctional or detention facility pursuant to section 3031, subsection 2 under a contract with the department is deemed for purposes of civil liability to be an employee of a governmental entity under the Maine Tort Claims Act, Title 14, chapter 741.