Washington (CNN) A bipartisan group of lawmakers are seeking to prevent the Trump administration from arresting undocumented immigrants who come forward to take care of undocumented immigrant children who are in the country alone, after CNN reported such arrests were happening.

A bill set to be introduced Tuesday comes as both the number of immigrant children in government custody and the length of time those children are being detained are skyrocketing. The Trump administration's own policies are at least partly responsible for the increase in both numbers and hundreds of children are being sent to a temporary tent facility in Texas set up to accommodate them.

The bill would bar the government from using a sponsor's undocumented status as a reason to deny releasing a child to them, and it would prevent the Department of Homeland Security from using information provided by a potential child sponsor to arrest or deport an undocumented immigrant.

Rep. Debbie Wasserman Schultz, a Florida Democrat, said CNN's reporting had prompted her to draft the legislation, which will be introduced with at least a dozen other Democrats and GOP Rep. Carlos Curbelo of Florida.

CNN confirmed last month that dozens of immigrants who came forward to sponsor children out of custody had been arrested by Immigration and Customs Enforcement from July to September, 70% of whom were arrested only on immigration violations.

Read More