If you have a Green Card there is nothing to protect(You're a permanent resident of the U.S.). If you are laid off then just find another job. There are no restrictions on a Green card except that you should spend most of your time(at least 6 months) in the U.S. a year.