...cream cheese for cottage cheese?

Only just realised I bought cream cheese when this pasta bake recipe calls for cottage cheese! Does it matter?