There is no specific legislation I know of related to at-risk drug launches that protects against TROs.
Every now and then a company in fact succeeds in getting a TRO against an at-risk launch - a good example is AZN got a TRO to halt Teva's at-risk launch of Pulmicort.
Here's a powerpoint discussing legal issues surrounding at-risk launches: