§ 5038. Assignment of periodic installments. An assignment of or an agreement to assign any right to periodic installments for future damages contained in a judgment entered under this article is enforceable only as to amounts: (a) to secure payment of alimony, maintenance, or child support; (b) for the cost of products, services, or accommodations provided or to be provided by the assignee for medical, dental or other health care; or (c) for attorney's fees and other expenses of litigation incurred in securing the judgment.